#！#!/bin/bash

mysql -uroot -pmysql << EOF
use ajia;#选择数据库（选择模式）
update  tb_house set index_image_url='FsxYqPJ-fJtVZZH2LEshL7o9Ivxn' where id=8;
update  tb_house set index_image_url='FsxYqPJ-fJtVZZH2LEshL7o9Ivxn' where id=9;
update  tb_house set index_image_url='FsxYqPJ-fJtVZZH2LEshL7o9Ivxn' where id=10;
update  tb_house set index_image_url='FsxYqPJ-fJtVZZH2LEshL7o9Ivxn' where id=11;
update  tb_house set index_image_url='FsxYqPJ-fJtVZZH2LEshL7o9Ivxn' where id=12;
update  tb_house set index_image_url='FsxYqPJ-fJtVZZH2LEshL7o9Ivxn' where id=14;
update  tb_house set index_image_url='FsxYqPJ-fJtVZZH2LEshL7o9Ivxn' where id=25;
COMMIT;#对于更新表格的操作执行commit语句
EOF



#mysqldump -u root -p123456 520byteEcommerce>/home/new520byteEcommerce.sql
mysqldump -uroot -pmysql ajia>/home/ubuntu/Desktop/ajia_Webb.sql

